package com.sxbbc.common.core.mapper.jz;

import com.sxbbc.common.core.entity.jz.BankDetail;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;

import java.util.List;

/**
 * <p>
 * 银行卡信息 Mapper 接口
 * </p>
 *
 * @author xiaoky
 * @since 2019-05-31
 */
public interface BankDetailMapper extends BaseMapper<BankDetail> {

    List<BankDetail> queryBankDetailByTargetId(Integer targetId);

    int countBankDetailByTargetId(Integer targetId);

    List<BankDetail> queryMyBankcardList(Integer cid);
}
